package com.money.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.money.mapper.MenuMapper;
import com.money.entity.Menu;
import com.money.service.MenuService;


import org.springframework.stereotype.Service;
@Service

public class MenuServiceImpl implements MenuService {
	private MenuMapper menuMapper;

	public void setMenuMapper(MenuMapper menuMapper) {
		this.menuMapper = menuMapper;
	}

	public List IniMenu() {
		List list=new ArrayList();
		list = this.menuMapper.getMainMenu();
		return list;
	}
}
